package com.zxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zxy.pojo.dto.CourseAdDTO;
import com.zxy.pojo.dto.PageDTOCourseDTO;
import com.zxy.pojo.entity.Course;
import com.zxy.pojo.vo.CourseContractResponseVO;

public interface CourseService extends IService<Course> {

    //分页查询数据
    CourseContractResponseVO<Course>  pagequery(PageDTOCourseDTO dto);

    //添加课程
    void saveOne(CourseAdDTO dto);
}
